﻿using Devonline.AspNetCore.OData;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Mvc;

namespace Devonline.Identity.Admin.Controllers;

[Route("api/[controller]")]
[ApiController]
[SecurityHeaders]
[Authorize(Roles = GROUP_MAINTAINERS)]
public class LevelsController : ODataModelServiceController<IdentityDbContext, Level, LevelViewModel>
{
    public LevelsController(IDataWithAttachmentService<IdentityDbContext, Level> dataService) : base(dataService) { }
}